#include "kernel/types.h"
#include "kernel/stat.h"
#include "user/user.h"

int main(int argc,char *argv[]){
	if(argc < 2){
		printf("usage:chmod filename mode\n");
		exit(1);
	}
	//printf("%s,%d\n",argv[1],atoi(argv[2]));
	chmod(argv[1],atoi(argv[2]));
	//printf("chmode over\n");
	exit(0);
}
